<script id="albums-template" type="text/x-jquery-tmpl">  
   <tr>
     <td>
       <img class="album-art" src="${cover}" />
     </td>
     <td valign="top">
       <b><a href="#a${encoded_name}">${name}</a></b> (<a href="" onclick="play_album('${encoded_name}'); return false;">play</a>, <a href="" onclick="enqueue_albums('${encoded_name}'); return false;">enqueue</a>, <a href="" onclick="enqueue_loved_album('${encoded_name}'); return false;">enqueue loved</a>)
       <br />
       Year: ${year}
       {{if wikipedia}}
          <br /><a href="${wikipedia}">Wikipedia</a>
       {{/if}}
       {{if $data["metal-archives"]}}
         {{if wikipedia}}
           &nbsp;
         {{else}}
           <br />
         {{/if}}
         <a href="${$data['metal-archives']}">Metal Archives
         {{if $data["ma-rating"]}}
            (${$data["ma-rating"]}){{/if}}</a>
       {{/if}}
       &nbsp;&nbsp;&nbsp;<a href="" onclick="update_info('${encoded_name}'); return false;">update info</a>
     </td>
   </tr>
</script>
